home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.0 KB | 36 lines | [TEXT/GEOL] |
- Item 9013023 18-Dec-89 00:02
-
- From: BRAINCHILD Brainchild, E Corbett, S Rome,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- Sub: TRadio.SetText Flashing ?
-
-
-
- Hi !
-
- I'm working on a dialog whose items interact and I'm getting some unusual
- behavior.
-
- When the user tabs out of one of my TEditTexts, I want to set the label of a
- TRadio to the text that he put in the TEditText. I just take control at
- TECDialogView.Tab, and make a TRadio.SetText call. Works fine, but with one
- minor glitch:
-
- If I call TRadio.SetText( newText, _kRedraw_ ), the radio label flashes,
- drawing once immediately and then again in response to the update event.
-
- If I call TRadio.SetText( newText, _NOT kRedraw_ ), the radio label is not
- redrawn at all.
-
- I've worked around it by just calling TRadio.SetText( newText, _NOT kRedraw_ )
- immediately followed by a call to TRadio.ForceRedraw. This works fine for me,
- but I'd be interested if anyone knew why it was necessary.
-
- Thanks,
-
- Sean Rome
-
-
-